package com.bocai.kelalacar.net;


import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * 作者 yuanfei on 2017/2/23.
 * 邮箱 yuanfei221@126.com
 */
@Module
public class LocalServiceModule {
    @Singleton
    @Provides
    public Api providerApi(LocalRetrofit retrofit){
        return retrofit.getRetrofit().create(Api.class);
    }
}
